export { default as Banner } from "./Banner/index.vue";
export { default as Logo } from "./Logo.vue";
export { default as PwdInput } from "./PasswordInput.vue";

import Header from "./Header.vue";
import Footer from "./Footer.vue";
import RadioFilter from "./RadioFilter.vue";
import DateFilter from "./DateFilter.vue";
import DictName from "./DictName.vue";
import Empty from "./Empty.vue";
import TwoColumnLayout from "@/layout/TwoColumnLayout.vue";
import ProvinceSelect from "./ProvinceSelect.vue";
import PieCharts from "./echarts/pie.vue";

const components = {
  Header,
  Footer,
  RadioFilter,
  DateFilter,
  DictName,
  TwoColumnLayout,
  Empty,
  ProvinceSelect,
  PieCharts,
};

const registerComponents = (app) => {
  for (const comp in components) {
    app.component(comp, components[comp]);
  }
};

export default registerComponents;
